﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CommerceOne.Models
{
    public class Error
    {
        public List<String> Errors { get; set; }
        public Boolean IsValid { get { return this.Errors.Count == 0; } }
        public int ErrorCount { get { return this.Errors.Count; } }

        
    }
}